/* Hide the content initially */
#content {
    transition: 0.5s;
}

/* Loader styles */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    background-image: url(/Pictures/Fond\ écran\ loader.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70% 110%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader::before {
    content: "";
    width: 650px;
    height: 650px;
    border: 7px solid #00000000;
    border-radius: 75%;
    animation: spin 2s linear infinite;
    z-index: 100;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        border-top-color: rgba(73, 73, 73, 0);
    }

    10% {
        transform: rotate(90deg);
        border-top-color: rgba(73, 73, 73, 0);
    }

    20% {
        transform: rotate(180deg);
        border-top-color: rgb(73, 73, 73);
    }

    30% {
        transform: rotate(270deg);
        border-top-color: rgb(73, 73, 73);
    }

    40% {
        transform: rotate(360deg);
        border-top-color: rgb(73, 73, 73);
    }

    50% {
        transform: rotate(450deg);
        border-top-color: rgb(73, 73, 73);
    }

    60% {
        transform: rotate(540deg);
        border-top-color: rgb(73, 73, 73);
    }

    70% {
        transform: rotate(630deg);
        border-top-color: rgb(243, 208, 11);
    }

    100% {
        transform: rotate(720deg);
        border-top-color: rgba(243, 208, 11, 0);
        border: 15px solid #00000000;
    }
}

@media (max-width: 1200px){ 


    .loader {
        background-size: 100% 100%;
    }
 
}

@media (max-width: 800px){ 
 
    .loader::before {
        content: "";
        width: 500px;
        height: 500px;
        border: 7px solid #00000000;
        border-radius: 75%;
        animation: spin 1.5s linear infinite;
        z-index: 101;
    }

    .loader {
        background-size: 110% 110%;
    }
 
}

@media (max-width: 500px){ 
 
    .loader::before {
        content: "";
        width: 400px;
        height: 400px;
        border: 7px solid #00000000;
        border-radius: 75%;
        animation: spin 1.5s linear infinite;
        z-index: 101;
    }

    .loader {
        background-size: 130% 130%;
    }
 
}

@media (max-width: 400px){ 
 
    .loader::before {
        content: "";
        width: 300px;
        height: 300px;
        border: 7px solid #00000000;
        border-radius: 75%;
        animation: spin 1.5s linear infinite;
        z-index: 101;
    }

    .loader {
        background-size: 100% 100%;
    }
 
}

@media (max-width: 300px){ 
 
    .loader::before {
        content: "";
        width: 200px;
        height: 200px;
        border: 7px solid #00000000;
        border-radius: 75%;
        animation: spin 1.5s linear infinite;
        z-index: 101;
    }
 
}
